Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Added auto rotate for batch import, content manager, and front end upload#4

Open
tomlinsonk wants to merge 1 commit into
carleton:productionfrom
tomlinsonk:feature/image_rotation
Open

Added auto rotate for batch import, content manager, and front end upload#4
tomlinsonk wants to merge 1 commit into
carleton:productionfrom
tomlinsonk:feature/image_rotation

Conversation

@tomlinsonk

Copy link
Copy Markdown

The content manager and front end uploads both use receive.php for handling uploads. Batch import uses a separate path, so I had to make changes to it separately.

I'm using ImageMagick's -auto-orient flag, which rotates an image according to its EXIF Orientation flag, and then resets the flag to 1 (Normal orientation). Auto-orientation is only done on jpeg images that have an orientation flag.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant